
package ch.hearc.coursJava.GUI.frame.compteurBis;

import javax.swing.JComponent;
import javax.swing.JLabel;

public class JFrameLabel extends JFrameCommon
	{

	/*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/

	public JFrameLabel(int n, LiaisonLabelButton[] tabLiaisonLabelButton)
		{
		super("Frame Label", n, tabLiaisonLabelButton);
		setLocation(200, 200);
		}

	@Override
	protected JComponent createComponent(int i, LiaisonLabelButton liaisonLabelButton)
		{
		JLabel label = new JLabel("J" + i);
		liaisonLabelButton.setLabel(label);

		return label;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/

	}
